﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>商家管理</title>
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
    <link href="../css/ydui.css?v=1.1.4" rel="stylesheet" />
    <script src="../js/ydui.flexible.js"></script>
    <link rel="stylesheet" type="text/css" href="../css/all.css?v=20180302" />
    <style type="text/css">
        .cell-select {
            display: block;
            color: #2A2A2A;
            padding-left: 4rem;
            align-items: center;
        }

        .cell-fileinput {
            position: absolute;
            width: 100%;
            z-index: 9999999;
            width: 70%;
            height: 1rem;
            right: 0;
            opacity: 0;
        }
        .m-cell:after{border:none;}
    </style>
</head>
<body ms-controller="userset" class="ms-controller">
    <div class="page-group">
        <div class="page page-current" id="rounter">
            <div class="g-flexview">
                <header class="m-navbar">
                    <a href="../person.html" class="navbar-item"><i class="back-ico"></i></a>
                    <div class="navbar-center"><span class="navbar-title">商家管理</span></div>
                </header>
                <div class="g-scrollview">
                    <div class="m-cell">
                        <a class="cell-item" href="vd_info.html">
                            <div class="cell-left">基本资料</div>
                            <div class="cell-right cell-arrow"></div>
                        </a>
                        <a class="cell-item" href="vd_yh.html">
                            <div class="cell-left">优惠信息</div>
                            <div class="cell-right cell-arrow"></div>
                        </a>
                    </div>
                    <div class="video_list">
                        <div class="_list_title">
                            <span class="iconfont icon-shuxian1"></span>
                            <p>我加入的社区</p>
                            <h1><a href="../shequ/index.html" style="color:#ff6a00">更多<i class="iconfont icon-gengduo"></i></a></h1>
                        </div>
                        <div class="clearfix"></div>
                        <div class="m-cell clearfix">
                            <a class="cell-item" ms-for="el in @ListData">
                                <div class="cell-left">{{el.Title}}<span style="color:red;font-size:.2rem;padding-left:5px;">有效期({{el.StartTime|date('yyyy-MM-dd')}}/{{el.EndTime|date('yyyy-MM-dd')}})</span></div>
                                <div class="cell-right" style="color:#ff6a00">续费</div>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>



    </div>
    <script src="https://cdn.bootcss.com/jquery/2.2.0/jquery.min.js"></script>
    <script src="../js/ydui.js"></script>
    <script src="../js/avalon.mobile.min.js"></script>
    <script src="../js/ComFunJS.js?v=20180331"></script>
    <script>

        var model = avalon.define({
            $id: "userset",
            ListData: [],
            GetListData: function () {
                $.getJSON("/api/user/vd/sqlist", function (r) {
                    if (r.error == "") {
                        model.ListData = r.result;
                    }
                })

            }

        });
        avalon.ready(function () {
            if (ComFunJS.isLogin(true)) {
                model.GetListData();
            }
        })

    </script>
</body>

</html>
